﻿<UserControl x:Class="WordPressStatsSettings.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Width="250" Height="310" SizeChanged="UserControl_SizeChanged" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit">
    <Grid x:Name="LayoutRoot" Background="White" Height="310">
        <sdk:Label Height="21" HorizontalAlignment="Left" Name="lblBlogUri" VerticalAlignment="Top" Width="69" Content="Blog Uri:" FontSize="12" Margin="9,12,0,0" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="9,32,0,0" Name="txtBlogUri" VerticalAlignment="Top" Width="223" />
        <sdk:Label Content="Blog API Key:" FontSize="12" Height="21" HorizontalAlignment="Left" Margin="9,68,0,0" Name="lblBlogAPIKey" VerticalAlignment="Top" Width="100" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="9,90,0,0" Name="txtAPIKey" VerticalAlignment="Top" Width="223" MaxLength="12" />
        <toolkit:NumericUpDown Height="22" HorizontalAlignment="Left" Margin="109,219,0,0" Name="numUpDownUpdateFrequency" VerticalAlignment="Top" Width="43" Minimum="3" Maximum="720" Value="3" />
        <sdk:Label Content="minutes" FontSize="12" Height="21" HorizontalAlignment="Left" Margin="157,220,0,0" Name="lblMinutes" VerticalAlignment="Top" Width="69" />
        <sdk:Label Content="Refresh every" FontSize="12" Height="21" HorizontalAlignment="Left" Margin="9,220,0,0" Name="lblEvery" VerticalAlignment="Top" Width="100" />
        <sdk:Label Content="Group by:" FontSize="12" Height="21" HorizontalAlignment="Left" Margin="9,124,0,0" Name="lblGroupBy" VerticalAlignment="Top" Width="100" />
        <RadioButton Content="Day" Height="16" HorizontalAlignment="Left" Margin="33,151,0,0" Name="radBtnDay" VerticalAlignment="Top" IsChecked="True" Checked="radBtnDay_Checked" />
        <RadioButton Content="Week" Height="16" HorizontalAlignment="Left" Margin="90,151,0,0" Name="radBtnWeek" VerticalAlignment="Top" Checked="radBtnWeek_Checked" />
        <RadioButton Content="Month" Height="16" HorizontalAlignment="Left" Margin="156,151,0,0" Name="radBtnMonth" VerticalAlignment="Top" Checked="radBtnMonth_Checked" />
        <sdk:Label Content="Show" FontSize="12" Height="21" HorizontalAlignment="Left" Margin="9,185,0,0" Name="lblShow" VerticalAlignment="Top" Width="46" />
        <toolkit:NumericUpDown Height="22" HorizontalAlignment="Left" Margin="52,184,0,0" Maximum="31" Minimum="1" Name="numUpDownDays" Value="30" VerticalAlignment="Top" Width="43" />
        <sdk:Label Content="day(s)" FontSize="12" Height="21" HorizontalAlignment="Left" Margin="103,185,0,0" Name="lblDays" VerticalAlignment="Top" Width="129" />
        <HyperlinkButton Content="(Show Me)" Height="18" HorizontalAlignment="Left" Margin="107,71,0,0" Name="linkBtnAPIKey" VerticalAlignment="Top" Width="65" Click="linkBtnAPIKey_Click" />
        <CheckBox Content="Include published posts in tooltip" Height="26" FontSize="12" HorizontalAlignment="Left" Margin="9,247,0,0" Name="chkBxIncludePublishedPosts" VerticalAlignment="Top" />
        <Grid Height="27" VerticalAlignment="Bottom" Margin="0,0,0,12">            
            <sdk:Label Content="Chart Type:" FontSize="12" Height="21" HorizontalAlignment="Left" Margin="9,5,0,0" Name="label1" VerticalAlignment="Top" Width="100"  />
            <RadioButton Content="Line" Height="16" HorizontalAlignment="Left" Margin="103,7,0,0" Name="radBtnLine" VerticalAlignment="Top" />
            <RadioButton Content="Column" Height="16" HorizontalAlignment="Left" Margin="164,7,0,0" Name="radBtnColumn" VerticalAlignment="Top" IsChecked="True" />            
        </Grid>
    </Grid>
</UserControl>
